package vip.xiaonuo.biz.modular.devicetype.param;

import java.util.List;
import lombok.Getter;
import lombok.Setter;

/**
 * 设备类型树状结构参数
 *
 * @author Blurryface
 */
@Getter
@Setter
public class DeviceTypeTreeParam {

    /** ID */
    private String id;

    /** 名称 */
    private String name;

    /** 是否为机构节点 */
    private Boolean isOrg;

    /** 机构ID */
    private String orgId;

    /** 子节点 */
    private List<DeviceTypeTreeParam> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getIsOrg() {
        return isOrg;
    }

    public void setIsOrg(Boolean isOrg) {
        this.isOrg = isOrg;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public List<DeviceTypeTreeParam> getChildren() {
        return children;
    }

    public void setChildren(List<DeviceTypeTreeParam> children) {
        this.children = children;
    }


}
